import request from '@/utils/request'

export function fetchProcessBillList(params) {
  return request({
    url: '/api/bill/processBill/getList',
    method: 'post',
    params
  })
}

export function createProcessBill(params) {
  return request({
    url: '/api/bill/processBill/add',
    method: 'post',
    params
  })
}

export function updateProcessBill(data) {
  return request({
    url: '/api/bill/processBill/update',
    method: 'post',
    data
  })
}

export function deleteProcessBill(params) {
  return request({
    url: '/api/bill/processBill/delete',
    method: 'post',
    params
  })
}

export function fetchSelectItemList() {
  return request({
    url: '/api/bill/processBill/fetchSelectItem',
    method: 'post',
  })
}